let modelManageTool = {
  namespaced: true,
  state: {
    moduleMenuList: [
      {
        id: 1,
        name: "智能感知样本集",
        nameEn: "perceptualSampleDataManagement",
        icon: "model-manage",
      },
      {
        id: 2,
        name: "辅助决策样本集",
        nameEn: "auxiliaryDecisionMakingSampleDataManagement",
        icon: "digital-machine-manage",
      },
      {
        id: 3,
        name: "策略挖掘样本集",
        nameEn: "strategyMiningSampleSet",
        icon: "digital-machine-manage",
      },
      // {
      //   id: 1,
      //   name: "模型总览",
      //   nameEn: "modelOverview",
      //   icon: "model-overview",
      // },
      // {
      //   id: 2,
      //   name: "全局数据模型",
      //   nameEn: "globalDataModel",
      //   icon: "global-data-model",
      // },
      // {
      //   id: 3,
      //   name: "模型管理",
      //   nameEn: "modelManage",
      //   icon: "model-manage",
      // },
      // {
      //   id: 4,
      //   name: "数字样机管理",
      //   nameEn: "digitalMachineManage",
      //   icon: "digital-machine-manage",
      // },
    ],
    right_menuList: {
      rightMenuList_1: [
        // 筛选右侧+的展开菜单
        {
          id: 1,
          name: "新增分类",
          icon: "create-directory",
          i18nName: "newFolder",
        },
        // {
        //   id: 2,
        //   name: "新增装备模型",
        //   icon: "model",
        //   i18nName: "newEquipmentModel",
        // },
      ],
      rightMenuList_2: [
        // 本账户模型/三维模型库右侧+的展开菜单
        {
          id: 1,
          name: "新增分类",
          icon: "create-directory",
          i18nName: "newFolder",
        },
      ],
      rightMenuList_3: [
        // 树节点类型为folder的...展开菜单
        {
          id: 1,
          name: "新增算法",
          icon: "create-directory",
          i18nName: "addSubdirectory",
        },
        {
          id: 2,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 3,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_3_2: [
        {
          id: 1,
          name: "新增算法版本",
          icon: "create-directory",
          i18nName: "addSubdirectory",
        },
        {
          id: 2,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 3,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_4: [
        // 树节点类型为model的...展开菜单
        {
          id: 1,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 2,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_6: [
        {
          id: 1,
          name: "概览",
          type: "project",
        },
        {
          id: 2,
          name: "类别列表",
          type: "data-model",
        },
      ],
      rightMenuList_7: [
        // 全局数据建模 树节点为folder的...展开菜单
        {
          id: 1,
          name: "添加子目录",
          i18nName: "addSubdirectory",
        },
        {
          id: 2,
          name: "使用自定义数据",
          i18nName: "useCustomData",
        },
        {
          id: 3,
          name: "导入JSON Schema文件",
          i18nName: "importJSONSchemaFile",
        },
      ],
      rightMenuList_8: [
        // 全局数据建模 树节点为folder的...展开菜单
        {
          id: 1,
          name: "添加子目录",
          i18nName: "addSubdirectory",
        },
        {
          id: 2,
          name: "使用公共数据",
          i18nName: "usePublicData",
        },
        {
          id: 3,
          name: "使用自定义数据",
          i18nName: "useCustomData",
        },
        {
          id: 4,
          name: "导入JSON Schema文件",
          i18nName: "importJSONSchemaFile",
        },
      ],
      rightMenuList_9: [
        // 数字样机 筛选右侧+的展开菜单
        {
          id: 1,
          name: "新增分类",
          icon: "create-directory",
          i18nName: "newFolder",
        },
        {
          id: 2,
          name: "新增数字样机",
          icon: "model",
          i18nName: "addDigitalMachine",
        },
      ],
      rightMenuList_10: [
        // 数字样机 树节点为folder的...展开菜单
        {
          id: 1,
          name: "添加子目录",
          icon: "create-directory",
          i18nName: "addSubdirectory",
        },
        {
          id: 2,
          name: "新增数字样机",
          icon: "model",
          i18nName: "addDigitalMachine",
        },
        {
          id: 3,
          name: "编辑",
          icon: "edit",
          i18nName: "edit",
        },
        {
          id: 4,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_11: [
        // 数字样机 树节点为file的...展开菜单
        {
          id: 1,
          name: "编辑",
          icon: "edit",
          i18nName: "edit",
        },
        {
          id: 2,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],

      // 样本集
      rightMenuList_12: [
        {
          id: 1,
          name: "新增分类",
          icon: "create-directory",
          i18nName: "newFolder",
        },
        // {
        //   id: 2,
        //   name: "新增样本集",
        //   icon: "model",
        //   i18nName: "newSample",
        // },
      ],
      rightMenuList_13: [
        // {
        //   id: 1,
        //   name: "添加子目录",
        //   icon: "create-directory",
        //   i18nName: "addSubdirectory",
        // },
        {
          id: 1,
          name: "新增样本集",
          icon: "model",
          i18nName: "newSample",
        },
        {
          id: 2,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 3,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_13_2: [
        {
          id: 1,
          name: "新增子集",
          icon: "model",
          i18nName: "newSample",
        },
        {
          id: 2,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 3,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
        {
          id: 4,
          name: "导出",
          icon: "model",
          i18nName: "download",
        },
      ],
      rightMenuList_14: [
        {
          id: 1,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 2,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
        {
          id: 3,
          name: "导出",
          icon: "model",
          i18nName: "download",
        },
      ],
      // 预处理镜像
      rightMenuList_15: [
        {
          id: 1,
          name: "新增分类",
          icon: "create-directory",
          i18nName: "newFolder",
        },
        // {
        //   id: 2,
        //   name: "新增镜像",
        //   icon: "model",
        //   i18nName: "newMirror",
        // },
      ],
      rightMenuList_16: [
        // {
        //   id: 1,
        //   name: "添加子目录",
        //   icon: "create-directory",
        //   i18nName: "addSubdirectory",
        // },
        {
          id: 1,
          name: "新增镜像",
          icon: "model",
          i18nName: "newMirror",
        },
        {
          id: 2,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 3,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_17: [
        {
          id: 2,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_18: [
        // 树节点类型为folder的...展开菜单
        {
          id: 1,
          name: "新增任务",
          icon: "create-directory",
          i18nName: "addSubdirectory",
        },
        {
          id: 2,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 3,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_18_2: [
        {
          id: 1,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 2,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_18_3: [
        {
          id: 1,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
    },
    sharingMethodsOptions: [
      {
        label: "仅自己可见",
        value: 0,
        i18nName: "privateVisible",
        icon: "private-visible",
      },
      {
        label: "公开",
        value: 1,
        i18nName: "publicVisible",
        icon: "public-visible",
      },
      {
        label: "部分可见",
        value: 2,
        i18nName: "partiallyVisible",
        icon: "partially-visible",
      },
      {
        label: "部分不可见",
        value: 3,
        i18nName: "partiallyInvisible",
        icon: "partially-invisible",
      },
    ],
    virtualJSonSchemaTreeOwn: [
      {
        id: 1,
        name: "基地",
        parentId: 0,
        type: 0,
        orderNum: 1,
        children: [
          {
            id: 3,
            name: "阿普拉海军基地",
            parentId: 1,
            type: 1,
            orderNum: 1,
            children: [],
            data: {
              createBy: "admin",
              createTime: "2025-03-25 13:46:21",
              updateBy: "admin",
              updateTime: "2025-03-25 13:46:22",
              remark: null,
              modelId: 3,
              modelName: "阿普拉海军基地",
              modelAlias: "阿普拉海军基地",
              parentId: 1,
              ancestors: "0,1",
              orderNum: 1,
              nodeType: 1,
              categoryCode: 785321,
              categoryLabel: null,
              modelResolution: null,
              modelDescription: null,
              modelState: 0,
              modelType: 0,
              redModelFileId: null,
              blueModelFileId: null,
              shareType: 0,
              userId: 1,
              delFlag: 0,
              jsonSchema: {
                type: "array",
                items: {
                  type: "object",
                  "x-apifox-refs": {
                    "01JDVEPW3ZWD2ZDDZ4SHYTF6HE": {
                      $ref: "#/definitions/127487407",
                      "x-apifox-overrides": {},
                    },
                  },
                  properties: {
                    id: {
                      type: "array",
                      items: {
                        type: "object",
                        "x-apifox-refs": {
                          "01JDVER37DNN3KWPXHYX8QCPBN": {
                            $ref: "#/definitions/127487407",
                            "x-apifox-overrides": {},
                          },
                        },
                        properties: {
                          category: {
                            type: "array",
                            items: {
                              $ref: "#/definitions/127487407",
                            },
                            description: "分组",
                          },
                        },
                        required: ["category"],
                        "x-apifox-orders": [
                          "01JDVER37DNN3KWPXHYX8QCPBN",
                          "category",
                        ],
                      },
                      description: "ID 编号",
                    },
                  },
                  required: ["id"],
                  "x-apifox-orders": ["01JDVEPW3ZWD2ZDDZ4SHYTF6HE", "id"],
                },
              },
            },
          },
          {
            id: 4,
            name: "青森县车力分屯基地",
            parentId: 1,
            type: 1,
            orderNum: 2,
            children: [],
            data: {
              createBy: "admin",
              createTime: "2025-03-25 13:46:21",
              updateBy: "admin",
              updateTime: "2025-03-25 13:46:22",
              remark: null,
              modelId: 4,
              modelName: "青森县车力分屯基地",
              modelAlias: "青森县车力分屯基地",
              parentId: 1,
              ancestors: "0,1",
              orderNum: 2,
              nodeType: 1,
              categoryCode: 236854,
              categoryLabel: null,
              modelResolution: null,
              modelDescription: null,
              modelState: 0,
              modelType: 0,
              redModelFileId: null,
              blueModelFileId: null,
              shareType: 0,
              userId: 1,
              delFlag: 0,
              jsonSchema: {
                type: "object",
                properties: {
                  engineId: {
                    type: "integer",
                    title: "当前节点id",
                  },
                  domain: {
                    type: "integer",
                    minimum: 0,
                    maximum: 200,
                    title: "DDS域id",
                  },
                  childrenId: {
                    type: "array",
                    items: {
                      type: "integer",
                    },
                    title: "子节点id",
                  },
                  parentId: {
                    type: "integer",
                    title: "父节点id",
                    description: "若不存在父节点，则值为-1",
                  },
                  projectName: {
                    type: "string",
                    title: "想定工程名",
                  },
                  dynamicLibraryConfigs: {
                    type: "array",
                    items: {
                      type: "object",
                      properties: {
                        entityType: {
                          type: "integer",
                          description: "大类模型， 船/飞机/车等",
                          title: "对应的模型类型",
                        },
                        entityTypeId: {
                          type: "integer",
                          title: "对应的类型的子型号信息",
                          description: "子类型号，如提康德罗加/尼米兹等",
                        },
                        dynamicLibraryPath: {
                          type: "string",
                          description: "文件路径 + 文件名",
                          title: "动态库的文件路径",
                        },
                      },
                      "x-apifox-orders": [
                        "entityType",
                        "entityTypeId",
                        "dynamicLibraryPath",
                      ],
                      title: "DynamicLibraryConfigs",
                      required: [
                        "entityType",
                        "entityTypeId",
                        "dynamicLibraryPath",
                      ],
                    },
                    title: "动态库说明",
                  },
                  engineName: {
                    type: "string",
                    title: "当前节点名",
                  },
                  mqttIp: {
                    type: "string",
                    title: "Mqtt IP地址",
                  },
                  role: {
                    type: "integer",
                    enum: [0, 1, 2],
                    "x-apifox": {
                      enumDescriptions: {
                        0: "根节点，不存在父节点",
                        1: "中间节点， 必存在父子结点",
                        2: "叶子节点，必存在父节点，必不存在子节点",
                      },
                    },
                    title: "当前节点角色",
                  },
                  publishData: {
                    type: "array",
                    items: {
                      type: "object",
                      properties: {
                        topic: {
                          type: "string",
                          title: "DDS主题",
                        },
                        type: {
                          type: "string",
                          title: "DDS类型",
                        },
                        callBackFunction: {
                          type: "string",
                          title: "DDS回调名",
                        },
                      },
                      title: "TransformBase",
                      "x-apifox-orders": ["topic", "type", "callBackFunction"],
                      required: ["topic", "type", "callBackFunction"],
                    },
                    title: "要发布的DDS说明",
                  },
                  subscribeData: {
                    type: "array",
                    items: {
                      type: "object",
                      properties: {
                        topic: {
                          type: "string",
                          title: "DDS主题",
                        },
                        type: {
                          type: "string",
                          title: "DDS类型",
                        },
                        callBackFunction: {
                          type: "string",
                          title: "DDS回调名",
                        },
                      },
                      title: "TransformBase",
                      "x-apifox-orders": ["topic", "type", "callBackFunction"],
                      required: ["topic", "type", "callBackFunction"],
                    },
                    title: "要订阅的DDS说明",
                  },
                  withPython: {
                    type: "boolean",
                    title: "是否需要伴随AI",
                    description: "若为True则上线时会等待Python",
                  },
                },
                title: "EnvironmentProfile",
                "x-apifox-orders": [
                  "projectName",
                  "engineName",
                  "engineId",
                  "parentId",
                  "childrenId",
                  "role",
                  "dynamicLibraryConfigs",
                  "domain",
                  "mqttIp",
                  "publishData",
                  "subscribeData",
                  "withPython",
                ],
                required: [
                  "engineId",
                  "domain",
                  "childrenId",
                  "parentId",
                  "projectName",
                  "dynamicLibraryConfigs",
                  "engineName",
                  "mqttIp",
                  "role",
                  "publishData",
                  "subscribeData",
                  "withPython",
                ],
              },
            },
          },
        ],
        data: {
          createBy: "admin",
          createTime: "2025-03-25 13:46:14",
          updateBy: "admin",
          updateTime: "2025-03-25 13:46:15",
          remark: null,
          modelId: 1,
          modelName: "基地",
          modelAlias: "基地",
          parentId: 0,
          ancestors: "0",
          orderNum: 1,
          nodeType: 0,
          categoryCode: null,
          categoryLabel: null,
          modelResolution: null,
          modelDescription: "这是一个基地",
          modelState: 0,
          modelType: 0,
          redModelFileId: null,
          blueModelFileId: null,
          shareType: 1,
          userId: 1,
          delFlag: 0,
        },
      },
    ],
    virtualJSonSchemaTreeshare: [
      {
        userId: 101,
        userName: "ceshi",
        commonTreeList: [
          {
            id: 32,
            name: "变轨",
            parentId: 0,
            type: 0,
            orderNum: 1,
            children: [
              {
                id: 33,
                name: "通用变轨",
                parentId: 32,
                type: 1,
                orderNum: 1,
                children: [],
                data: {
                  createBy: "ceshi",
                  createTime: "2025-03-17 09:41:45",
                  updateBy: "admin",
                  updateTime: "2025-03-17 09:41:45",
                  remark: null,
                  modelId: 33,
                  modelName: "通用变轨",
                  modelAlias: "通用变轨",
                  parentId: 32,
                  ancestors: "0,32",
                  orderNum: 1,
                  nodeType: 1,
                  categoryCode: 100002,
                  categoryLabel: null,
                  modelResolution: null,
                  modelDescription: null,
                  modelState: 0,
                  modelType: 0,
                  redModelFileId: null,
                  blueModelFileId: null,
                  shareType: 1,
                  userId: 101,
                  delFlag: 0,
                  jsonSchema: {
                    type: "object",
                    properties: {
                      entityType: {
                        type: "integer",
                        description: "大类模型， 船/飞机/车等",
                        title: "对应的模型类型",
                      },
                      entityTypeId: {
                        type: "integer",
                        title: "对应的类型的子型号信息",
                        description: "子类型号，如提康德罗加/尼米兹等",
                      },
                      dynamicLibraryPath: {
                        type: "string",
                        description: "文件路径 + 文件名",
                        title: "动态库的文件路径",
                      },
                    },
                    "x-apifox-orders": [
                      "entityType",
                      "entityTypeId",
                      "dynamicLibraryPath",
                    ],
                    title: "DynamicLibraryConfigs",
                    required: [
                      "entityType",
                      "entityTypeId",
                      "dynamicLibraryPath",
                    ],
                  },
                },
              },
            ],
            data: {
              createBy: "ceshi",
              createTime: "2025-03-14 17:27:31",
              updateBy: "admin",
              updateTime: "2025-03-14 17:27:32",
              remark: null,
              modelId: 32,
              modelName: "变轨",
              modelAlias: "变轨",
              parentId: 0,
              ancestors: "0",
              orderNum: 1,
              nodeType: 0,
              categoryCode: null,
              categoryLabel: null,
              modelResolution: null,
              modelDescription: null,
              modelState: 0,
              modelType: 0,
              redModelFileId: null,
              blueModelFileId: null,
              shareType: 0,
              userId: 101,
              delFlag: 0,
            },
          },
          {
            id: 36,
            name: "箔条",
            parentId: 0,
            type: 0,
            orderNum: 1,
            children: [
              {
                id: 37,
                name: "通用箔条",
                parentId: 36,
                type: 1,
                orderNum: 1,
                children: [],
                data: {
                  createBy: "ceshi",
                  createTime: "2025-03-13 13:30:48",
                  updateBy: "ceshi",
                  updateTime: "2025-03-13 13:30:48",
                  remark: null,
                  modelId: 37,
                  modelName: "通用箔条",
                  modelAlias: "通用箔条",
                  parentId: 36,
                  ancestors: "0,36",
                  orderNum: 1,
                  nodeType: 1,
                  categoryCode: 100005,
                  categoryLabel: null,
                  modelResolution: null,
                  modelDescription: null,
                  modelState: 0,
                  modelType: 0,
                  redModelFileId: null,
                  blueModelFileId: null,
                  shareType: 1,
                  userId: 101,
                  delFlag: 0,
                  jsonSchema: {
                    type: "object",
                    properties: {
                      entity: {
                        type: "object",
                        properties: {
                          id: {
                            type: "integer",
                            title: "当前模型id",
                          },
                          parentId: {
                            type: "integer",
                            title: "父模型id",
                            description: "若不存在则为-1",
                          },
                          childrenId: {
                            type: "array",
                            items: {
                              type: "integer",
                            },
                            title: "子模型id列表",
                          },
                          entityType: {
                            type: "integer",
                            title: "模型大类id",
                            description: "船/飞机/车...",
                          },
                          typeId: {
                            type: "integer",
                            title: "模型型号id",
                            description: "提康德罗加/尼米兹...",
                          },
                          sideId: {
                            type: "integer",
                            title: "作战方id",
                          },
                          threatLevel: {
                            type: "integer",
                            title: "威胁度",
                          },
                          time: {
                            type: "integer",
                            title: "初始时间",
                          },
                          step: {
                            type: "integer",
                            title: "模型步长",
                          },
                          survivePoints: {
                            type: "number",
                            title: "生命值",
                          },
                          lla: {
                            type: "object",
                            properties: {
                              X: {
                                type: "number",
                              },
                              Y: {
                                type: "number",
                              },
                              Z: {
                                type: "number",
                              },
                            },
                            title: "经纬高",
                            "x-apifox-orders": ["X", "Y", "Z"],
                            required: ["X", "Y", "Z"],
                          },
                          posEcf: {
                            type: "object",
                            properties: {
                              X: {
                                type: "number",
                              },
                              Y: {
                                type: "number",
                              },
                              Z: {
                                type: "number",
                              },
                            },
                            title: "地固系下位置",
                            "x-apifox-orders": ["X", "Y", "Z"],
                            required: ["X", "Y", "Z"],
                          },
                          velNue: {
                            type: "object",
                            properties: {
                              X: {
                                type: "number",
                              },
                              Y: {
                                type: "number",
                              },
                              Z: {
                                type: "number",
                              },
                            },
                            title: "北天东下速度",
                            "x-apifox-orders": ["X", "Y", "Z"],
                            required: ["X", "Y", "Z"],
                          },
                          velPos: {
                            type: "object",
                            properties: {
                              X: {
                                type: "number",
                              },
                              Y: {
                                type: "number",
                              },
                              Z: {
                                type: "number",
                              },
                            },
                            title: "地固系下速度",
                            "x-apifox-orders": ["X", "Y", "Z"],
                            required: ["X", "Y", "Z"],
                          },
                          isVisible: {
                            type: "boolean",
                            title: "是否可见",
                          },
                        },
                        title: "实体模型",
                        "x-apifox-orders": [
                          "id",
                          "parentId",
                          "childrenId",
                          "entityType",
                          "typeId",
                          "sideId",
                          "threatLevel",
                          "time",
                          "step",
                          "survivePoints",
                          "lla",
                          "posEcf",
                          "velNue",
                          "velPos",
                          "isVisible",
                        ],
                        required: [
                          "id",
                          "parentId",
                          "childrenId",
                          "entityType",
                          "typeId",
                          "sideId",
                          "threatLevel",
                          "time",
                          "step",
                          "survivePoints",
                          "lla",
                          "posEcf",
                          "velNue",
                          "velPos",
                          "isVisible",
                        ],
                      },
                      external: {
                        type: "string",
                        title: "额外属性",
                      },
                    },
                    "x-apifox-orders": ["entity", "external"],
                    required: ["entity", "external"],
                    title: "JTEntityObjWithExternal",
                  },
                },
              },
              {
                id: 38,
                name: "箔条GR",
                parentId: 36,
                type: 1,
                orderNum: 2,
                children: [],
                data: {
                  createBy: "ceshi",
                  createTime: "2025-03-13 13:30:53",
                  updateBy: "ceshi",
                  updateTime: "2025-03-13 13:30:54",
                  remark: null,
                  modelId: 38,
                  modelName: "箔条GR",
                  modelAlias: "箔条GR",
                  parentId: 36,
                  ancestors: "0,36",
                  orderNum: 2,
                  nodeType: 1,
                  categoryCode: 100006,
                  categoryLabel: null,
                  modelResolution: null,
                  modelDescription: null,
                  modelState: 0,
                  modelType: 0,
                  redModelFileId: null,
                  blueModelFileId: null,
                  shareType: 1,
                  userId: 101,
                  delFlag: 0,
                  jsonSchema: {
                    type: "object",
                    properties: {
                      id: {
                        type: "integer",
                        title: "当前模型id",
                      },
                      parentId: {
                        type: "integer",
                        title: "父模型id",
                        description: "若不存在则为-1",
                      },
                      childrenId: {
                        type: "array",
                        items: {
                          type: "integer",
                        },
                        title: "子模型id列表",
                      },
                      entityType: {
                        type: "integer",
                        title: "模型大类id",
                        description: "船/飞机/车...",
                      },
                      typeId: {
                        type: "integer",
                        title: "模型型号id",
                        description: "提康德罗加/尼米兹...",
                      },
                      sideId: {
                        type: "integer",
                        title: "作战方id",
                      },
                      threatLevel: {
                        type: "integer",
                        title: "威胁度",
                      },
                      time: {
                        type: "integer",
                        title: "初始时间",
                      },
                      step: {
                        type: "integer",
                        title: "模型步长",
                      },
                      survivePoints: {
                        type: "number",
                        title: "生命值",
                      },
                      lla: {
                        type: "object",
                        properties: {
                          X: {
                            type: "number",
                          },
                          Y: {
                            type: "number",
                          },
                          Z: {
                            type: "number",
                          },
                        },
                        title: "经纬高",
                        "x-apifox-orders": ["X", "Y", "Z"],
                        required: ["X", "Y", "Z"],
                      },
                      posEcf: {
                        type: "object",
                        properties: {
                          X: {
                            type: "number",
                          },
                          Y: {
                            type: "number",
                          },
                          Z: {
                            type: "number",
                          },
                        },
                        title: "地固系下位置",
                        "x-apifox-orders": ["X", "Y", "Z"],
                        required: ["X", "Y", "Z"],
                      },
                      velNue: {
                        type: "object",
                        properties: {
                          X: {
                            type: "number",
                          },
                          Y: {
                            type: "number",
                          },
                          Z: {
                            type: "number",
                          },
                        },
                        title: "北天东下速度",
                        "x-apifox-orders": ["X", "Y", "Z"],
                        required: ["X", "Y", "Z"],
                      },
                      velPos: {
                        type: "object",
                        properties: {
                          X: {
                            type: "number",
                          },
                          Y: {
                            type: "number",
                          },
                          Z: {
                            type: "number",
                          },
                        },
                        title: "地固系下速度",
                        "x-apifox-orders": ["X", "Y", "Z"],
                        required: ["X", "Y", "Z"],
                      },
                      isVisible: {
                        type: "boolean",
                        title: "是否可见",
                      },
                    },
                    title: "JTEntityObj",
                    "x-apifox-orders": [
                      "id",
                      "parentId",
                      "childrenId",
                      "entityType",
                      "typeId",
                      "sideId",
                      "threatLevel",
                      "time",
                      "step",
                      "survivePoints",
                      "lla",
                      "posEcf",
                      "velNue",
                      "velPos",
                      "isVisible",
                    ],
                    required: [
                      "id",
                      "parentId",
                      "childrenId",
                      "entityType",
                      "typeId",
                      "sideId",
                      "threatLevel",
                      "time",
                      "step",
                      "survivePoints",
                      "lla",
                      "posEcf",
                      "velNue",
                      "velPos",
                      "isVisible",
                    ],
                  },
                },
              },
            ],
            data: {
              createBy: "ceshi",
              createTime: "2025-03-13 13:31:21",
              updateBy: "",
              updateTime: "2025-03-13 13:31:21",
              remark: null,
              modelId: 36,
              modelName: "箔条",
              modelAlias: "箔条",
              parentId: 0,
              ancestors: "0",
              orderNum: 1,
              nodeType: 0,
              categoryCode: null,
              categoryLabel: null,
              modelResolution: null,
              modelDescription: null,
              modelState: 0,
              modelType: 0,
              redModelFileId: null,
              blueModelFileId: null,
              shareType: 0,
              userId: 101,
              delFlag: 0,
            },
          },
        ],
      },
    ],
    jsonschemaTreeList: [
      {
        id: 3617988,
        name: "JTYJ",
        parentId: 0,
        type: 0,
        children: [
          {
            id: 3618928,
            name: "Environment",
            parentId: 3617988,
            type: 0,
            children: [
              {
                id: 29317605,
                modelName: "EnvironmentProfile",
                modelAlias: "EnvironmentProfile",
                modelDescription: "",
                type: 1,
                shareType: 0,
                children: [],
              },
              {
                key: "apiSchema.29322633",
                type: "apiSchema",
                name: "DynamicLibraryConfigs",
                children: [],
                schema: {
                  id: 29322633,
                  name: "DynamicLibraryConfigs",
                  displayName: "DynamicLibraryConfigs",
                },
                displayName: "DynamicLibraryConfigs",
              },
              {
                key: "apiSchema.134027733",
                type: "apiSchema",
                name: "多层引用嵌套",
                children: [],
                schema: {
                  id: 134027733,
                  name: "多层引用嵌套",
                  displayName: "",
                },
                displayName: "",
              },
            ],
          },
          {
            key: "apiSchemaFolder.3619402",
            type: "apiSchemaFolder",
            name: "Imagine",
            children: [
              {
                key: "apiSchema.29318068",
                type: "apiSchema",
                name: "ImagineProfile",
                children: [],
                schema: {
                  id: 29318068,
                  name: "ImagineProfile",
                  displayName: "ImagineProfile",
                },
                displayName: "ImagineProfile",
              },
              {
                key: "apiSchema.29337336",
                type: "apiSchema",
                name: "JTEntityObjWithExternal",
                children: [],
                schema: {
                  id: 29337336,
                  name: "JTEntityObjWithExternal",
                  displayName: "JTEntityObjWithExternal",
                },
                displayName: "JTEntityObjWithExternal",
              },
              {
                key: "apiSchema.29338001",
                type: "apiSchema",
                name: "JTEntityObj",
                children: [],
                schema: {
                  id: 29338001,
                  name: "JTEntityObj",
                  displayName: "JTEntityObj",
                },
                displayName: "JTEntityObj",
              },
              {
                key: "apiSchema.29338042",
                type: "apiSchema",
                name: "Vector3D",
                children: [],
                schema: {
                  id: 29338042,
                  name: "Vector3D",
                  displayName: "Vector3D",
                },
                displayName: "Vector3D",
              },
              {
                key: "apiSchema.29340646",
                type: "apiSchema",
                name: "Command",
                children: [],
                schema: {
                  id: 29340646,
                  name: "Command",
                  displayName: "Command",
                },
                displayName: "Command",
              },
              {
                key: "apiSchema.29340667",
                type: "apiSchema",
                name: "Event",
                children: [],
                schema: {
                  id: 29340667,
                  name: "Event",
                  displayName: "Event",
                },
                displayName: "Event",
              },
              {
                key: "apiSchema.29341985",
                type: "apiSchema",
                name: "Task",
                children: [],
                schema: {
                  id: 29341985,
                  name: "Task",
                  displayName: "Task",
                },
                displayName: "Task",
              },
            ],
            folder: {
              id: 3619402,
              name: "Imagine",
              parentId: 3617988,
            },
          },
          {
            key: "apiSchema.29317569",
            type: "apiSchema",
            name: "Profile",
            children: [],
            schema: {
              id: 29317569,
              name: "Profile",
              displayName: "Profile",
            },
            displayName: "Profile",
          },
        ],
      },
      {
        key: "apiSchemaFolder.3641811",
        type: "apiSchemaFolder",
        name: "Plane",
        children: [
          {
            key: "apiSchema.127487407",
            type: "apiSchema",
            name: "A",
            children: [],
            schema: {
              id: 127487407,
              name: "A",
              displayName: "",
            },
            displayName: "",
          },
          {
            key: "apiSchema.127487442",
            type: "apiSchema",
            name: "B",
            children: [],
            schema: {
              id: 127487442,
              name: "B",
              displayName: "",
            },
            displayName: "",
          },
        ],
        folder: {
          id: 3641811,
          name: "Plane",
          parentId: 0,
        },
      },
      {
        key: "apiSchemaFolder.3641889",
        type: "apiSchemaFolder",
        name: "Ship",
        children: [
          {
            key: "apiSchema.129678081",
            type: "apiSchema",
            name: "1111",
            children: [],
            schema: {
              id: 129678081,
              name: "1111",
              displayName: "",
            },
            displayName: "",
          },
          {
            key: "apiSchema.130152725",
            type: "apiSchema",
            name: "未命名数据模型",
            children: [],
            schema: {
              id: 130152725,
              name: "未命名数据模型",
              displayName: "",
            },
            displayName: "",
          },
          {
            key: "apiSchema.134027720",
            type: "apiSchema",
            name: "5",
            children: [],
            schema: {
              id: 134027720,
              name: "5",
              displayName: "",
            },
            displayName: "",
          },
        ],
        folder: {
          id: 3641889,
          name: "Ship",
          parentId: 0,
        },
      },
      {
        key: "apiSchemaFolder.3641894",
        type: "apiSchemaFolder",
        name: "JTEntityObj",
        children: [],
        folder: {
          id: 3641894,
          name: "JTEntityObj",
          parentId: 0,
        },
      },
      {
        key: "apiSchema.29329900",
        type: "apiSchema",
        name: "TransformBase",
        children: [],
        schema: {
          id: 29329900,
          name: "TransformBase",
          displayName: "TransformBase",
        },
        displayName: "TransformBase",
      },
      {
        key: "apiSchema.29343397",
        type: "apiSchema",
        name: "Rule",
        children: [],
        schema: {
          id: 29343397,
          name: "Rule",
          displayName: "Rule",
        },
        displayName: "Rule",
      },
    ],
    globalData: {
      selectedNodeId: 0, // 指标列表中当前选中的节点id
      expandedNodeIds: [], // 指标列表中当前选中的节点id
    },
    model: {
      selectedNodeId: 0, // 任务列表中当前选中的节点id
      expandedNodeIds: [], // 任务列表中当前选中的节点id
    },
    dataModeling: {
      selectedNodeId: 0, // 数据建模中当前选中的节点id
      expandedNodeIds: [], // 数据建模中当前选中的节点id
    },
    machine: {
      selectedNodeId: 0, // 数字样机列表中当前选中的节点id
      expandedNodeIds: [], // 数字样机列表中当前选中的节点id
    },
  },
  mutations: {
    SET_SELECTED_NODE_ID(state, { moduleName, id }) {
      state[moduleName].selectedNodeId = id;
    },
    SET_EXPANDED_NODE_IDS(state, { moduleName, idList }) {
      state[moduleName].expandedNodeIds = idList;
    },
  },
  actions: {},
};
export default modelManageTool;
